package vip.george.sentinel1.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author george
 * @since 2023/7/5
 * <p>openFeign的配置类</p>
 */
@Configuration
public class FeignConfig {


    /**
     * feign调用的日志配置(本模块调用所有的外部服务都使用这个日志配置)
     * @return
     */
    @Bean
    public Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }

}
